<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <style>
        body {
            padding: 0;
            margin: 0;
            font-family: HY-XiZYJ,HY_XiZYJ,Arial,'微软雅黑',YaHei,Helvetica Neue,Helvetica,STHeiTi,sans-serif;
            background-color: #ececec;
        }
        [v-cloak] {
            display: none;
        }
        a {
            text-decoration: none;
        }
        .header {
            position: fixed;
            top: 0;
            width: 100%;
            height: 55px;
            padding: 0 20px 0 20px;
            box-sizing: border-box;
            background-color: rgb(0, 117, 142);
            z-index: 999;
        }
        .class-name {
            width: auto;
            height: 55px;
            font-size: 20px;
            float: left;
            line-height: 55px;
            color: #fff;
        }

        .class-exit {
            width: auto;
            height: 55px;
            font-size: 20px;
            line-height: 55px;
            float: right;
            color: #fff;
        }
        .tabs {
            position: fixed;
            top: 55px;
            width: 100%;
            box-sizing: border-box;
            height: 44px;
            padding: 0 20px 0 20px;
            background-color: rgb(0, 117, 142);
            z-index: 999;
        }
        .tab {
            width: auto;
            height: 44px;
            float: left;
            color: #fff;
            box-sizing: border-box;
            font-size: 16px;
            margin: 0 20px 0 0;
            line-height: 44px;
        }
        .active {
            border-bottom: 3px solid #fff;
        }
        .back {
            color: #fff;
        }

    </style>
    @yield('css')
    <title>爱尚课</title>
</head>
<body>
{{--头部--}}
<header class="header">
    <div class="class-name"><a class="back" href="/student">Back</a> | 课程详情</div>
    <a class="class-exit" href="/logout">Exit</a>
</header>
<div id="app" v-cloak>
    @yield('content')
</div>
{{--tab--}}
{{--<section class="tabs">--}}
    {{--<div class="tab active">留言</div>--}}
    {{--<div class="tab">作业</div>--}}
    {{--<div class="tab">签到</div>--}}
    {{----}}
{{--</section>--}}

@yield('js')
</body>
</html>